import request from '@/utils/request'

let europeanApi = {

  /*参赛国家列表*/
  countrylist(data, errorback) {
    return request._post('/shop/plus.european.european/index', data, errorback);
  },

   /*添加参赛国家*/
   addcountry(data, errorback) {
    return request._post('/shop/plus.european.european/addcountry', data, errorback);
  },

   /*编辑参赛国家*/
   editcountry(data, errorback) {
    return request._post('/shop/plus.european.european/editcountry', data, errorback);
  },

  /*编辑参赛国家*/
  geteditcountry(data, errorback) {
    return request._get('/shop/plus.european.european/editcountry', data, errorback);
  },
   /*比分列表*/
   europeanscorelist(data, errorback) {
    return request._post('/shop/plus.european.european/europeanscorelist', data, errorback);
  },

 /*编辑活动*/
 editactivity(data, errorback) {
  return request._post('/shop/plus.european.european/editactivity', data, errorback);
},

/*编辑活动*/
geteditactivity(data, errorback) {
  return request._get('/shop/plus.european.european/editactivity', data, errorback);
},


   /*添加比分*/
   addscore(data, errorback) {
    return request._post('/shop/plus.european.european/addscore', data, errorback);
  },

   /*编辑比分*/
   editscore(data, errorback) {
    return request._post('/shop/plus.european.european/editscore', data, errorback);
  },

  /*编辑比分*/
  geteditscore(data, errorback) {
    return request._get('/shop/plus.european.european/editscore', data, errorback);
  },

   /*删除比分*/
   deletescore(data, errorback) {
    return request._post('/shop/plus.european.european/deletescore', data, errorback);
  },


   /*赛事列表*/
  europeanmatchlist(data, errorback) {
    return request._post('/shop/plus.european.european/europeanmatchlist', data, errorback);
  },




     /*编辑赛事列表*/
  geteuropeanmatch(data, errorback) {
      return request._get('/shop/plus.european.european/editeuropeanmatch', data, errorback);
  },

     /*编辑赛事*/
  editeuropeanmatch(data, errorback) {
      return request._post('/shop/plus.european.european/editeuropeanmatch', data, errorback);
  },

  
  /*新增赛事*/
getaddeuropeanmatch(data, errorback) {
  return request._get('/shop/plus.european.european/addeuropeanmatch', data, errorback);
},

/*新增赛事*/
addeuropeanmatch(data, errorback) {
  return request._post('/shop/plus.european.european/addeuropeanmatch', data, errorback);
},

  /*比分竞猜列表*/
  guessingscorelist(data, errorback) {
    return request._post('/shop/plus.european.european/guessingscorelist', data, errorback);
  },

    /*竞猜冠军列表*/
  europeanchampionlist(data, errorback) {
   return request._post('/shop/plus.european.european/europeanchampionlist', data, errorback);
  },

  /*删除*/
  deletecountry(data, errorback) {
    return request._post('/shop/plus.european.european/deletecountry', data, errorback);
    },

     /*删除比分*/
     deletematch(data, errorback) {
    return request._post('/shop/plus.european.european/deletematch', data, errorback);
  },
    /*发放*/
    updateIsGive(data, errorback) {
    return request._post('/shop/plus.european.european/updateIsGive', data, errorback);
    },

    /*发放*/
    updateChampionIsGive(data, errorback) {
    return request._post('/shop/plus.european.european/updateChampionIsGive', data, errorback);
    },


}

export default europeanApi;
